package com.xiezc.util;


import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Random;
import java.util.UUID;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * Created by Administrator on 2017/5/19.
 */
public class XUtil {

    static Random random = new Random();
    static AtomicInteger atomicInteger = new AtomicInteger(random.nextInt());

    public static int maxSize = 10 * 1024 * 1024;





    private XUtil() {

    }

    public static int getOnlyInt() {
        return atomicInteger.getAndAdd(1);
    }

    public static String getUUID() {
        return UUID.randomUUID().toString();
    }


}
